package festrung

import "starsine.cn/appTpl/svclog/src/fe/ws-server/wsserver"

var strungMng *StrungMng = nil

func Start() {
	strungMng = CreateStrungMng()
	strungMng.Start()
}

func Create(k string, conn *wsserver.WsServer) *Strung {
	return strungMng.Create(k, conn)
}

func Get(k string) *Strung {
	return strungMng.Get(k)
}

func Close(k string) {
	strungMng.Close(k)
}

func CloseConn(k string, conn *wsserver.WsServer) {
	strungMng.CloseConn(k, conn)
}

func Dump() string {
	return strungMng.Dump()
}
